package com.china08.yxyapi.repository.mg.statistics;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.china08.yxyapi.entity.mg.statistics.UserUploadResourceYear;

public interface UserUploadResourceYearRepository extends MongoRepository<UserUploadResourceYear, String> {

    List<UserUploadResourceYear> findBySynch(Integer synch);

    List<UserUploadResourceYear> findByUserIdAndSchoolId(String userId, String schoolId);
}
